<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header','admin');
?>
<script type="text/javascript">
<!--

//-->
</script>
<div class="pad-lr-10">
<form action="?m=sign_up&c=reg&a=reg_log_edit&id=<?=$id?>" method="post" id="myform">
<table width="100%"  class="table_form">
    <tr>
        <th width="120"><?php echo $info['column_name']?>：</th>
        <td class="y-bg">
            <?php if ($regInfo['column_type'] == 1 || $regInfo['column_type'] == 11 || $regInfo['column_type'] == 12){?>
            <input type="text" class="input-text" name="user_column_value" value="<?=$info['user_column_value']?>" size="30" />
            <?php } elseif($regInfo['column_type'] == 2 || $regInfo['column_type'] == 13) { ?>
            <select name="user_column_value">
                <option value="">请选择</option>
                <?php foreach($column_values as $v){?>
                <option value="<?=$v?>" <?php echo $v == $info['user_column_value']?'selected':'';?>><?=$v?></option>
                <?php }?>
            </select>
            <?php } elseif($regInfo['column_type'] == 3) { ?>
            <textarea name="user_column_value" cols="60" rows="10" ><?=$info['user_column_value']?></textarea>
            <?php } elseif($regInfo['column_type'] == 4) { ?>
            <?php echo form::date("user_column_value", $info['user_column_value'])?>    
            <?php } elseif($regInfo['column_type'] == 6) { ?>
            <?php foreach($column_values as $v){?>
                <input type="checkbox" name="user_column_value[]" value="<?=$v?>" <?php echo in_array($v,$user_column_value)?'checked':'';?>><?=$v?>
            <?php }?>
            <?php }?>
        </td>
    </tr>
</table>
<div class="bk15"></div>
    <input type="submit" class="dialog" id="dosubmit" name="dosubmit" value="<?php echo L('submit');?>" />
</form>
</div>
<script language="JavaScript">
<!--

	//-->
</script>
</body>
</html>